﻿

using CommandLib;

namespace DBHelper
{
    public sealed class DbConfig
    {
        
        /// <summary>
        /// Chuỗi kết nối
        /// </summary>
        public const string KeyDbWorldArtPriceConnectionString = "DbWorldArtPriceConnectionString";
        public const string KeyDbAuctionConnectionString = "DbAuctionConnectionString";

        public string DbWorldArtPriceConnectionString { get; set; }
        public string DbAuctionConnectionString { get; set; }        

        public DbConfig()
        {
            DbWorldArtPriceConnectionString = ConfigSection.GetAppSetting(KeyDbWorldArtPriceConnectionString);
            DbAuctionConnectionString = ConfigSection.GetAppSetting(KeyDbAuctionConnectionString);                     
        }        
    }
}
